<script setup>
  import {onMounted , ref} from 'vue';
  import {useRoute} from 'vue-router'

  let typeId = ref(0);
  let id = ref(0);

  onMounted(()=>{
    let route = useRoute();
    typeId.value = route.params.typeid;
    id.value = route.params.id;
  })

</script>

<template>
  <div>
    {{typeId}} || {{id}}
       <font color='red'>详情展示页面！！</font>  
  </div>
</template>

<style scoped>

</style>